package com.itheima.guanxi;

public class Demo02 {
}

interface Laozhang{
    void dance();

}
interface Laozhao extends Laozhang{
    void rap();
    public default void sing(){

    }

}
interface Laoli extends Laozhang{
    void basketball();
    public default void sing(){

    }
}
interface Laogong extends Laozhao,Laoli,Laozhai{
    @Override
    default void sing() {

    }
    public default void haha(){
        System.out.println("干爹的哈哈");
    }
}
interface Laozhai{

}

class Qindie{
    public void haha(){
        System.out.println("亲爹的哈哈");
    }
}
class Shixian extends Qindie implements Laogong{

    @Override
    public void dance() {

    }

    @Override
    public void rap() {

    }

    @Override
    public void basketball() {

    }
}